<#if pg??>${pg.countHtml!}</#if>
<table class="list">
  <tr>
    <th width="5%">序号</th>
    <th width="8%">门店名称</th>
    <th width="8%">合同编号</th>
    <th width="8%">会员名称</th>
    <th width="18%">课程</th>
    <th width="10%">教练</th>
    <th width="11%">预约时间</th>
    <th width="11%">上课时间</th>
    <th width="6%">状态</th><#if !tp?? || tp!='1'>
    <th width="6%">是否打印</th>
    <th><input type="checkbox" onclick="selAll(this.checked);"> 操作</th></#if>
  </tr>
  <#if list??><#list list as c>
  <tr<#if c_index%2==1> class="line2"<#else> class="line1"</#if>>
    <td class="no">${c_index+1}</td>
    <td><@value type="shopName" key="${c.shopCode!}"/></td>
    <td>${c.contractCode!}</td>
    <td><a href="javascript:mbinfo('${c.memberCode!}');">${c.memberName}</a></td>
    <td><@value type="ptItemName" key="${c.ptCode!}"/></td>
    <td>${c.coachCode!}-<@value type="ptCoachName" key="${c.coachCode!}"/></td>
    <td>${c.bespeakDate?string("yyyy-MM-dd HH:mm")!}</td>
    <td>${c.classTime?string("yyyy-MM-dd HH:mm")}</td>
    <td><@value type="bespeakStatus" key="${c.status!}"/></td><#if !tp?? || tp!='1'>
    <td><#if c.printLabel=1>是<#else>否</#if></td>
    <td class="oper"><#if canClear?? && (c.printLabel=1 || c.status=3) && c.classTime?time  lt date0?time><input type="checkbox" name="cbids" value="${c.autoId!}">
        <a class="del" href="javascript:oper('_clear?id=${c.autoId!}')">核销</a></#if></td></#if>
  </tr>
  </#list></#if>
</table>
<#if pg??>${pg.pageHtml!}</#if>
